/*
 * @Author: your name
 * @Date: 2022-04-19 19:37:02
 * @LastEditTime: 2022-09-28 13:38:16
 * @LastEditors: YNT 2501512800@qq.com
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \22-03-19 智慧社区\api\message.js
 */
import wxRequest from '../utils/wx-request'

class SpecialModel extends wxRequest {
  // 消息列表
  messageList(params) {
    return this.request({
      url: `/api/v1/message/list`,
      method: 'GET',
      params,
    })
  }

  release(params) {
    return this.request({
      url: `/api/neighbor/release/`,
      method: 'POST',
      params,
    })
  }
}

export default new SpecialModel()
